import { h } from "vue";

export const columns = [
  {
    title: '职称',
    width: 80,
    render(row) {
      return row.title + "|" +row.docname
    },
  },
  {
    title: '号源时间',
    width: 50,
    render(row) {
      return row.param.dayOfWeek;
    },
  },
  {
    title: '可预约数',
    width: 50,
    render(row) {
      return row.reservedNumber;
    }
  },
  {
    title: '剩余预约数',
    width: 50,
    render(row) {
      return row.availableNumber;
    }
  },
  {
    title: '挂号费',
    width: 80,
    render(row) {
      return row.amount;
    }
  },
  {
    title: '擅长技能',
    width: 100,
    render(row) {
      return row.skill;
    }
  },

];
